<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!doctype html>
<html class="no-js">
<head>
    <%@ include file="./../common/meta.jsp" %>
    <link rel="stylesheet" href="../../css/ecshop-detail.css">
    <script>
        var orderNo = "<%=request.getParameter("orderNo")%>";
        var pid = "<%=request.getParameter("pid")%>";
    </script>
</head>
<body>
<header data-am-sticky class="am-header am-header-default am-no-layout">
    <div class="am-header-left am-header-nav">
        <a href="ecshop.jsp" class="" id="last">
            <i class="am-header-icon am-icon-chevron-left"></i>
        </a>
    </div>
    <h1 class="am-header-title">去支付</h1>
</header>
<div class="am-g am-content">
    <div class="am-u-sm-12">
        <div class="am-radio">
            <label>
                <input type="radio" name="payType" value="1">
                微信
            </label>
        </div>
        <div class="am-radio">
            <label>
                <input type="radio" name="payType" value="2" checked="true">
                支付宝
            </label>
        </div>
        <p>
            <button type="button" class="am-btn am-btn-primary am-btn-block pay-btn" id="pay-btn">去支付</button>
        </p>
    </div>
</div>

<%@ include file="./../common/footerNav.jsp" %>
<%@ include file="./../common/footer.jsp" %>

<script>
    $(function () {
        var from = "<%=request.getParameter("from")%>";
        if (from == "orderList") {
            $("#last").attr("href", "../settings/order-list.jsp");
        }
    })
</script>


<script src="../../js/common/common.js"></script>
<script src="../../js/ecshop/pay-order.js"></script>
</body>
</html>


